#ifndef __GAMEMENU_DLG_H__
#define __GAMEMENU_DLG_H__

#include "cocos2d.h"

using namespace cocos2d;

class GameScene;

class GameMenuDlg : public cocos2d::CCLayer
{
public:
	virtual ~GameMenuDlg(void);
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    virtual bool init();  

    // a selector callback
    virtual void menuCallback(CCObject* pSender);

    // implement the "static node()" method manually
    CREATE_FUNC(GameMenuDlg);

	void SetParentLayer(GameScene *pParent);

protected:
	GameScene *m_pGame;
};

#endif  // __GAMEMENU_DLG_H__